package com.example.startproject_423zhy.service;

import com.example.startproject_423zhy.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Part;
import retrofit2.http.Query;

/**
 * Created by 大玉儿 on 2017/3/14.
 */
//Retrofit 访问网络-2,定义接口
public interface Weather51service {
        @GET("GetMoreWeather")
        Call<WeatherResult> getResult(
                @Query("cityCode")String cityNumber,
                @Query("weatherType")int weatherType
        );
}
